//
//  DateFormatter.swift
//  
//
//  Created by tangbl93 on 2021/4/20.
//

import Foundation

public extension DateFormatter {
    
    // current locale DateFormatter
    static var yx_current: DateFormatter = {
        YXLog("load current DateFormatter")
        let dateFormatter = DateFormatter()
        dateFormatter.locale = NSLocale.current
        dateFormatter.timeZone = TimeZone.current
        return dateFormatter
    }()
}
